package Event.lib;

import Creature.Player;
import Event.Story;

/**
 *
 * 放屁，在图书馆发生
 *
 */
public class SmokeInLiarary extends Story{

    public SmokeInLiarary(Player player){
        super(player);

        eventName = "图书馆放屁";
        happenText = "你拿起一本书正准备阅读，准备陶醉在美丽的文章中。。。突然惊叹于书中优美的文字    “bu————”    因为肚子痛一直憋着的屁绷不住了，周围的人纷纷投来疑惑的眼神，" +
                "你感觉十分尴尬 ";

        options = new String[]{"诬陷是邻桌放的", "在众人前微微一笑", "想条法子掩饰"};
    }

    public void eventHappen(int option) {

        switch (option) {
            case 0:

                endText = "邻桌的人正在睡觉，大家相信了你";
                player.setSan(player.getSan() - 51);
                break;


            case 1:
                endText = "大伙们都笑了，图书馆里充满了快活的空气，你涨红了脸，摸了摸自己的头";
                player.setSan(player.getSan() - 20);
                break;


            case 2:
                endText = "你迅速用嘴咬住自己的手臂，从嘴角出气模拟出了放屁的声音，误让大伙认为刚才你没有放屁。尴尬被化解了，你心里的石头也放了下来";
                player.setSan(player.getSan() + 10);
                player.setCharm(player.getCharm() + 10);
                player.setCharm(player.getCharm()+5);
                break;


        }
    }

}
